
<%@ page import="java.util.Calendar" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%--
  Created by IntelliJ IDEA.
  User: Salery
  Date: 2016/12/9
  Time: 10:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String datetime=new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime()); //获取系统时间
%>
    <form action="saveUser" method="post">
        员工编号：<input name="user.jobNumber" type="text"><br/>
        密码：<input name="user.password" type="password">
        注册时间：<input name="user.registerTime" type="text" value="${datetime}">
        最后一次登录时间：<input name="user.lastLoginTime" type="text" value="${datetime}">
    </form>
</body>
</html>
